package Traffic;

//讲解后重做

public class TrafficTest {
    public static void main(String[] args) {
        PoliceMan p = new PoliceMan();

        Driver d1 = new Driver("张三","12345678",false);
        Car a = new Car("川A 66666",50,d1);
        p.check(a);

        Driver d2 = new Driver("李四","87654321",true);
        Car b = new Car("川A 22222",90,d2);
        p.check(b);
    }
}
